package br.sc.senai.control.managedbeans;

import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;

import br.sc.senai.model.entity.TesteClasse;


@ManagedBean(name = "MBTeste")
@ViewScoped
public class MBTeste {
	
	

	private TesteClasse tc = new TesteClasse();
	
	public void TwTeste(){
		System.out.print("nome = "+tc.getNome());
	}

	public TesteClasse getTc() {
		return tc;
	}

	public void setTc(TesteClasse tc) {
		this.tc = tc;
	}
	
}
